﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Frontend/Frontend.Master"
    Inherits="System.Web.Mvc.ViewPage<IntroduceCompany.OrderMaster>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Order
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<table border="0" cellpadding="0" cellspacing="0" width="100% ;">
        <tr>
            <td class="col-left bg_product">
                <!--Content column left here-->
            </td>
            <td class="col-center">
                <div class="payment">
                    <h2><%= IntroduceCompany.Resources.Resx.Frontend_Order_Order_lab_HeaderPage%></h2><br />
                    
                    <% using (Html.BeginForm("CreateOrder", "Order", FormMethod.Post)){%>
                        <%= Html.AntiForgeryToken(IntroduceCompany.Util.AntiKey.EditSalt)%>
                        <%= Html.ValidationSummary(true) %>

                    <div>
                        <div class="payment_fl">
                            <p><span class="notice">(*)</span> <%= IntroduceCompany.Resources.Resx.Frontend_Order_Order_lab_ClientName%> :</p>
                        </div>
                        <div class="payment_fr">
                            <p>
                                <%= Html.TextBoxFor(model => model.ClientName, new { Maxlength = "200" })%><br />
                                <%= Html.ValidationMessageFor(model => model.ClientName) %>
                            </p>
                        </div>
                    </div>
                    <div>
                        <div class="payment_fl">
                            <p><span class="notice">(*)</span> <%= IntroduceCompany.Resources.Resx.Frontend_Order_Order_lab_Email%> :</p>
                        </div>
                        <div class="payment_fr">
                            <p>
                                <%= Html.TextBoxFor(model => model.Email, new { Maxlength = "200" })%><br />
                                <%= Html.ValidationMessageFor(model => model.Email) %>
                            </p>
                        </div>
                    </div>
                    <div>
                        <div class="payment_fl">
                            <p><span class="notice">(*)</span> <%= IntroduceCompany.Resources.Resx.Frontend_Order_Order_lab_Phone%> :</p>
                        </div>
                        <div class="payment_fr">
                            <p>
                                <%= Html.TextBoxFor(model => model.Phone, new { Maxlength = "20" })%><br />
                                <%= Html.ValidationMessageFor(model => model.Phone) %>
                            </p>
                        </div>
                    </div>
                    <div>
                        <div class="payment_fl">
                            <p><span class="notice">(*)</span> <%= IntroduceCompany.Resources.Resx.Frontend_Order_Order_lab_Address%> :</p>
                        </div>
                        <div class="payment_fr">
                            <p>
                                <%= Html.TextBoxFor(model => model.Address, new { Maxlength = "250" })%><br />
                                <%= Html.ValidationMessageFor(model => model.Address) %>
                            </p>
                        </div>
                    </div>
                    <div>
                        <div class="payment_fl">
                            <p style="text-align:center;"><span class="notice">(*)</span> <%= IntroduceCompany.Resources.Resx.Universal_lab_Require %></p>
                        </div>
                        <div class="payment_fr">
                            <p>
                                <input type="submit" value="<%= IntroduceCompany.Resources.Resx.Frontend_Order_Order_btn_Order%>" />
                                <span class="warning"><%= Html.ValidationMessage("NoticePage")%></span>
                            </p>
                        </div>
                    </div>
                    <% } %>
                    <div id="link-more">
                        <a class="link-more" href="<%= Url.Action("ViewCart", "Order") %>"><%= IntroduceCompany.Resources.Resx.Frontend_Order_Order_Link_Return%></a>
                    </div>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>
